﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B03 RID: 2819
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MEAEGFBOGAK : IMessage<MEAEGFBOGAK>, IMessage, IEquatable<MEAEGFBOGAK>, IDeepCloneable<MEAEGFBOGAK>, IBufferMessage
	{
		// Token: 0x1700239B RID: 9115
		// (get) Token: 0x06007E3C RID: 32316 RVA: 0x00150DC8 File Offset: 0x0014EFC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MEAEGFBOGAK> Parser
		{
			get
			{
				return MEAEGFBOGAK._parser;
			}
		}

		// Token: 0x1700239C RID: 9116
		// (get) Token: 0x06007E3D RID: 32317 RVA: 0x00150DCF File Offset: 0x0014EFCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MEAEGFBOGAKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700239D RID: 9117
		// (get) Token: 0x06007E3E RID: 32318 RVA: 0x00150DE1 File Offset: 0x0014EFE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MEAEGFBOGAK.Descriptor;
			}
		}

		// Token: 0x06007E3F RID: 32319 RVA: 0x00150DE8 File Offset: 0x0014EFE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MEAEGFBOGAK()
		{
		}

		// Token: 0x06007E40 RID: 32320 RVA: 0x00150DFB File Offset: 0x0014EFFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MEAEGFBOGAK(MEAEGFBOGAK other) : this()
		{
			this.aOMFDNHANFA_ = other.aOMFDNHANFA_;
			this.switchList_ = other.switchList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007E41 RID: 32321 RVA: 0x00150E31 File Offset: 0x0014F031
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MEAEGFBOGAK Clone()
		{
			return new MEAEGFBOGAK(this);
		}

		// Token: 0x1700239E RID: 9118
		// (get) Token: 0x06007E42 RID: 32322 RVA: 0x00150E39 File Offset: 0x0014F039
		// (set) Token: 0x06007E43 RID: 32323 RVA: 0x00150E41 File Offset: 0x0014F041
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AOMFDNHANFA
		{
			get
			{
				return this.aOMFDNHANFA_;
			}
			set
			{
				this.aOMFDNHANFA_ = value;
			}
		}

		// Token: 0x1700239F RID: 9119
		// (get) Token: 0x06007E44 RID: 32324 RVA: 0x00150E4A File Offset: 0x0014F04A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> SwitchList
		{
			get
			{
				return this.switchList_;
			}
		}

		// Token: 0x06007E45 RID: 32325 RVA: 0x00150E52 File Offset: 0x0014F052
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MEAEGFBOGAK);
		}

		// Token: 0x06007E46 RID: 32326 RVA: 0x00150E60 File Offset: 0x0014F060
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MEAEGFBOGAK other)
		{
			return other != null && (other == this || (this.AOMFDNHANFA == other.AOMFDNHANFA && this.switchList_.Equals(other.switchList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007E47 RID: 32327 RVA: 0x00150EB0 File Offset: 0x0014F0B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AOMFDNHANFA != 0U)
			{
				num ^= this.AOMFDNHANFA.GetHashCode();
			}
			num ^= this.switchList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007E48 RID: 32328 RVA: 0x00150EFD File Offset: 0x0014F0FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007E49 RID: 32329 RVA: 0x00150F05 File Offset: 0x0014F105
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007E4A RID: 32330 RVA: 0x00150F10 File Offset: 0x0014F110
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AOMFDNHANFA != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.AOMFDNHANFA);
			}
			this.switchList_.WriteTo(ref output, MEAEGFBOGAK._repeated_switchList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007E4B RID: 32331 RVA: 0x00150F60 File Offset: 0x0014F160
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AOMFDNHANFA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AOMFDNHANFA);
			}
			num += this.switchList_.CalculateSize(MEAEGFBOGAK._repeated_switchList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007E4C RID: 32332 RVA: 0x00150FB4 File Offset: 0x0014F1B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MEAEGFBOGAK other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AOMFDNHANFA != 0U)
			{
				this.AOMFDNHANFA = other.AOMFDNHANFA;
			}
			this.switchList_.Add(other.switchList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007E4D RID: 32333 RVA: 0x00151001 File Offset: 0x0014F201
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007E4E RID: 32334 RVA: 0x0015100C File Offset: 0x0014F20C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 112U && num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.switchList_.AddEntriesFrom(ref input, MEAEGFBOGAK._repeated_switchList_codec);
					}
				}
				else
				{
					this.AOMFDNHANFA = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400303D RID: 12349
		private static readonly MessageParser<MEAEGFBOGAK> _parser = new MessageParser<MEAEGFBOGAK>(() => new MEAEGFBOGAK());

		// Token: 0x0400303E RID: 12350
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400303F RID: 12351
		public const int AOMFDNHANFAFieldNumber = 4;

		// Token: 0x04003040 RID: 12352
		private uint aOMFDNHANFA_;

		// Token: 0x04003041 RID: 12353
		public const int SwitchListFieldNumber = 14;

		// Token: 0x04003042 RID: 12354
		private static readonly FieldCodec<uint> _repeated_switchList_codec = FieldCodec.ForUInt32(114U);

		// Token: 0x04003043 RID: 12355
		private readonly RepeatedField<uint> switchList_ = new RepeatedField<uint>();
	}
}
